<%--
  Created by IntelliJ IDEA.
  User: fy
  Date: 2022/5/27
  Time: 14:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户注册</title>
    <style type="text/css">
        #main{
            position: absolute;
            width: 400px;
            height: 300px;
            left:50%;
            top:40%;
            margin-left: -200px;
            margin-top: -100px;
            border: solid ;
        }
    </style>
</head>
<body>
<div id="main" class="panel panel-primary">
    <div class="panel-heading">
        <div class="panel-title">
            用户注册
        </div>
    </div>
    <div class="panel-body">
        <form action="${pageContext.request.contextPath}/user?method=register" method="post">
            <div class="form-group">
                <label>用户名:</label>
                <input type="text" name="username" id="" class="form-control" placeholder="请输入用户名"/>
            </div>
            <div class="form-group">
                <label>密&nbsp;码:</label>
                <div class="input-group">
                    <input type="password" name="password" id="password" class="form-control"  placeholder="请输入密码"/>
                    <span class="input-group-addon"></span>
                </div>
            </div>
            <div class="form-group" style="text-align: center;">
                <input type="submit" value="提交注册" class="btn btn-primary">
                <input type="submit" value="返回" class="btn btn-default">
            </div>
        </form>
    </div>
</div>
</body>
</html>
